<?php echo form_open('admin/report/transfer');?>
<div class="container_24">
<div class="grid_2" style="padding-top: 10px"><label> Username</label></div>
<div class="grid_5"><input type="text" id="username" name="username"
	value="<?php echo $username?>" /></div>
<div class="grid_2"><input type="submit" /></div>
</div>

<?php echo form_close();?>
<div class="clear"></div>
<section class="item">
<div class="content">


<table cellspacing="0" border="0" class="table-list">
	<thead>
		<th>Username</th>
		<th>Amount</th>
		<th>Action</th>
	</thead>
	<tbody>
	<?php
	foreach($userList as $user)
	{		?>
		<tr>
			<td><?php echo $user->username;?></td>
			<td><input type="text" id="amount<?php echo $user->user_id;?>" /></td>
			<td><input type="button" class="button transfer-button"
				value="Transfer" data-user-id="<?php echo $user->user_id;?>" /> <input
				type="button" class="button bonus-button" value="Bonus"
				data-user-id="<?php echo $user->user_id;?>" /></td>
		</tr>
		<?php
	}
	?>
	</tbody>
</table>

</div>
</section>
<script type="text/javascript">
$(window).load(function() {
	Transfer.init();
});
</script>
